package com.ruiaa.meeting.common;


import lombok.Getter;

/**
 * @author chenhuaiyi
 * @date 2022-11-04 10:21
 */
@Getter
public enum ResponseCode {

    SUCCESS(0, "SUCCESS"),
    ERROR(1,"ERROR"),
    NEED_LOGIN(11, "NEED_LOGIN");

    private final int code;
    private final String message;

    ResponseCode(int code, String message) {
        this.code  = code;
        this.message = message;
    }
}
